Update todo.rb to take console input
Recreate task_spec that was deleted by mistake and refactor