Update UniquePaths.java