A simple schedule optimizer given a todo list.