Added some maxsubrangesum algorithms.