Merged genPasswords() and assPasswordsToBoard().