Update cgol.c

Added some documentation, will add more later.