Basic todo list written in Scala