Added a test to handle a float and a test to handle the invalidargumentexceptoin if a non-numeric value is passed to setDistance
updating the gitignore