made distancefinder.java more readable and left a small list of issues on the top for you.