possibly working divide and conquer soln... added SOME 0 line