input

some unnecessary lines have been commented out but are still included in
case this is the most convenient place to run these functions.

a function to allow the user to conveniently input free groups has been
added.