The comment for exit_at function in World.py says """"Returns True if there is a wall at (x,y)"""". This should be if there is an exit.