Motion of partical in three dimensional box and idea of degeneracy