N-puzzle solver using A*