Started work on password() function

Started work on the function for actually generating passwords.