TodayTix Interview Question

Implement a password checker.