added basic model of MaxSubarrayAlgo
and exercise solution of 4.1.1 and 4.1.2