Update pwdgen.c

change expression & bug fixes.