add class Path

should this be 
implements Comparable<Path> 
?