added method to edit category to the TodoList class. Also added junit
test that proves it works.