Building a TODO list in PHP

Completing the functions list_items() and get_input() by updating
according to comments.
Exercise - Functions

added error messages