Edited datatype in SelectPath.java