it needs some bulk testing it has had a little testing done to make sure it works i had to do this for class
it uses a bubble sorter to determine the fastest time