please be careful on reading task requirements, this algorithm can't solve 2_4 puzzle