Make passgen command a little more useful.

Allow users to prepend stuff to the passwords by appending an argument
to passgen. Intended to make it easier for people to keep track of
peering passwords.
Fix index out of bounds error