Added equals() method to Task, Date and Time class