Create Distance.java