Removed unused variable.
Changed design of possible moves.