Update EightPuzzle.java

added correct imported library dependencies