Define the free group on a set S.