Let Logic.addTask throw IOException
Move formatting for output of task to Task.java