Added max function

Added new max function, which finds the largest element in a collection.
Uses a comparison function when elements aren't solely numeric
Added composer file