added solutions to solve maxsum problem
unit tests for maxum