Print out the chain code