input

Started working on the function to allow the user to conveniently input
the subgroup. It's currently stored in a separate file (input.py) and is
unlikely to run with no problems but the code is essentially all there.