Illustration of the generator coordinate method in terms of model problems