How can I draw a tabular like below using the given script.
\documentclass[12pt]{article}
\usepackage{multirow}
\usepackage{colortbl}
\begin{document}
\begin{figure}
\centering
\begin{tabular}{|*{10}{c|}}
\hline
\multicolumn{2}{|>{}c|}{} & \multicolumn{3}{c|}{TOP.1} & \multicolumn{3}{c|}{TOP.2} \\
\arrayrulecolor{black}
\cline{3-8}
\multicolumn{2}{|>{}c|}{} & TOP.1.1 & TOP.1.2 & TOP.1.3 & TOP.2.1 & TOP.2.2 & TOP.2.3\\
\hline
\multirow{3}{*}{SIDE.1}
& SIDE.1.1 & 1 & 1 & 1 & 1 & 1 & 1 \\ \cline{2-8}
& SIDE.1.2 & 1 & 1 & 1 & 1 & 1 & 1 \\ \cline{2-8}
& SIDE.1.3 & 1 & 1 & 1 & 1 & 1 & 1 \\ \cline{2-8}
\hline
\multirow{3}{*}{SIDE.2}
& SIDE.2.1 & 1 & 1 & 1 & 1 & 1 & 1 \\ \cline{2-8}
& SIDE.2.2 & 1 & 1 & 1 & 1 & 1 & 1 \\ \cline{2-8}
& SIDE.2.3 & 1 & 1 & 1 & 1 & 1 & 1 \\ \cline{2-8}
\hline
\end{tabular}
\end{figure}
\end{document}