added checking for wrong command format

-checks if user only enters end time and returns a message without adding task