Put puzzle generation loop in autoreleasepool

Wrap the puzzle generation loop in KakuroGenerator
in an autoreleasepool.