Added Maximum Subarray in Javascript & Ruby, moved kadane's algo to maximum subarray