Update cgb.cpp

added license info