Create shortestPath.java