Sliding Puzzle using Java Swing