Work in progress grouping.
Merge branch 'master' of https://github.com/ezeidman/packing
Grouping, with an attempt of an intuitive explanation. Will need some cleanup.