implemented ability to write new todo items to list