Thank you, though to be honest, that was more of a proof of concept than something that had actual plot relevance. I'd just wanted to see if I could get something like that to work.
For the password, have a look around the rooms before you enter the it. There are some clues that should help you figure it out. You can also use the length of the password to help. If not, check Ethan's book.
Thank you for your feedback!