Cleaned up Cube, renamed to Chunk and added testing.