todo-list.php

added exception cases:  empty or greater than 240 characters