The Fundamental Groupoid of a Graph of Groups