Moved gaps to their own block, added docs for them, fixes #219

Moved gaps to a new block, in par with groups. Added docs for them and the demo.