Implement function `two_in_a_row', the first one of `The Seasoned Schemer'.