Create Distance.java

part 1 of excercise 3