Doing some work with timing different algorithms, however my brute force implementation which I have found numerous times on different sites is sometimes returning more resu