Implemented valid-moves.