add max
Merge pull request #1 from scheungts/max

add max