cleaned up logic in PasswordGen to get rid of magic numbers in symbol gen function