Solution for 'Maximum Sum' problem.
Added comments to MaximumSum.
Refactoring