Update UninformedSearch.java

Now returns path as an arraylist