Nexus Edge interview question

Write functions to test your password function