added walls, changed method names to adhere to python standards