Educational C++ port of subzero