Added isEmpty to Traversable. Rewrote foldLeft and find using isEmpty method