Update DistanceAlg.java

Users can change what distances they consider close, medium, and far.