Is it possible to set up a switch statement to test the composition of the "Check Password" program instead of if statements? Is it more efficient than the "ok = rule1(p) && rule2(p) && rule3(p)" design and how do they differ?