I wrote methods for classes Rat and Maze