A simple octree with good commenting for learning how octrees work.