Refactored the canMoveTo() method in LevelController.java so that it is
drastically compacter and smarter.