A simple curses-based todo list example in python