Unexpected results working on Array of Integers While going through and re-factoring some Java code I wrote a while back for Project-Euler.