On classification of n-Lie algebras