Command line based todo list in python