I try to solve a 15 puzzle game by calling the Manhattan distance and take the minimum for possible move.
public int resolution() throws InterruptedException