Fixed the maxBy to be 0 when the set is empty. Using foldLeft
Indent
Merge pull request #64 from wajam/jerome-fix-emptyseq-max

Fixed the maxBy to be 0 when the set is empty. Using foldLeft