Final version of my simple n-puzzle