started doing stuff for CodeEval, also trying to figure out max_sub_array