Swift tutorial code from an empty app implementing todolist