Display the set

Removed the "Hello World" message and the spaceships on clicking.
Create an NSBitmapImageRep and set its pixels from the generated data.
Display the result on an SKSpriteNode as a texture created from the
NSBitmapImageRep.
Correct for output image's aspect ratio when calculating co-ordinates
for generating the data.