Decomposition of a Semisimple Lie Algebra into Simple Ideals