A Comparison Between Maximum Subarray Algorithms