Changed to use Books class, which is an enumerator, rather than gathering all the books in one go. Also mixin Enmerable to give standard enumerable methods