created and implemented TeamGenerator