MAXSUMSQ: Added new TestCases
MAXSUMSQ: Cleaned up code for DP based Algo