Add 3d cube

Signed-off-by: Paul Brook <paul@nowt.org>