Part 1 of todo list php exercise