Little ToDo list written in java, for class