added moves counter.-- total moves done till now.

TODO for code refactoring and clean up.