maze for python