Added preprocessor checks to switch test arrays.
Fixed bug in algorithm 2 where the starting index of the subarray would get added to the total twice.  Instead, added a check at the beginning of each outer loop iteration to see if single element subarray is closest to zero.