simple gol implementation in cpp

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>