added faster go implementation of max-subarray