build test loop for Dave and My algorithms

Importated Dave's algorithm and then ran both mine and his against random
arrays of ingigers.