finished first exercises for todo.php