Implemented directional moves.