added boundaries to the entrance and exit so that leaving the screen is impossible