Max and swap
Merge pull request #1 from mercassergiu/master

Max and swap