tryign to make a prime finder
 minor changees to distance