Simple implementation of a nanocube

This is not intended for production. It is meant to be a clean
description of the algorithm.