Fixed code

Added a restricted movement map