improved motif finder; now called max_subarray.py