Implemented clearTasks function
Changed error condit checks to allow -c option
Added -c option to manpage