adds puzzle generation with given number of moves