adding the gserver example from the book. adding the book source code.