Java implementation solving the 8 puzzle problem, from a text file, with numbers correspondng to the tiles