Edited datatype in SelectPath.java

Edited String datatype