more Pyramid.cpp work