Modified todo.php to ask ifthe user wants to add the item to the beginning or end of the list and defaults to the end