PASCAL programs for identification of Lie algebras. Part 3: LEVI decomposition and canonical basis