adding error message when trying to move an invalid direction