added duration_of_a_task/2 predicate
srdl definition of cram task types