Added 'difficulty', which changes the length of the passwords