nPuzzle problem and util for stack,queue,priority queue