Simple Curses example using Python