finish NxN maze game