Refactor pwgen to adjust to feedback
Refactor pwgen to adjust to feedback

kuanyui/tldr,slash3b/tldr,cptdeka10/tldr,Phizho/tldr,cptdeka10/tldr,deekim/tldr,Phizho/tldr,felixonmars/tldr,katekyan/tldr,deekim/tldr,katekyan/tldr,AgamAgarwal/tldr,zoisom/tldr,igorshubovych/tldr,katekyan/tldr,WALL-E/tldr,slash3b/tldr,felixonmars/tldr,UncommonPleb/tldr,igorshubovych/tldr,cptdeka10/tldr,AgamAgarwal/tldr,zoisom/tldr,zoisom/tldr,UncommonPleb/tldr,UncommonPleb/tldr,slash3b/tldr,deekim/tldr,felixonmars/tldr,Phizho/tldr,WALL-E/tldr,kuanyui/tldr