Move guard

Added check to move so that a null move ('x' -> 'x') does not raise an error