added question 9
Wrote demethodize to convert a method to a binary function