Stone-age program for arbitrary-order CC and CC-F12