Update APGenS.py

Can now provide either the number of passwords, or the length (or both or none), instead of having to provide the length, if you provide the number. Also fixed up some of the commentary.