So, I decided to try to make a basic password circuit
A password is a software concept.
You don't have resistors on the switches, so they are floating. Use the internal pullup resistors, so that pressed is LOW, or add external resistors.
loop() doesn't wait for switches to be pressed. Resetting the password instance on every pass through loop is not a good idea.
What if the password is 1, 2, 3, 4, and you press 1, 2, and 2 accidentally. You don't have a reset or backspace plan.
You should do something more than print true or false, based on the return value from evaluate().