Structure Theorem for Finite-Dimensional $C^*$-Algebras