update gg.h/gg.cpp
include cstdlib