Added in isExpired method to assign each Task object's isExpired
attribute to true when expired