Hiring Programmers - Boolean Expressions in Ruby