added feature that allows user to add TODO item to beginning or end of list, implemented switch statement