How to create a menu and submenus in Python curses?,self.window.keypad(1)