Improvement of the move() method
Correction of mistake in the constructor

And some corrections of code