Implemented max sub array solving algo. Also included is a demo run.