Small todo list in Swift