Changed click detection.
Added movement of figures.
Changes in the game logic