pascals-triangle: adjust API to use an instance method over class methods
As per #177, adjust the test suite to require a solution that uses an instance method instead of a class method.
(see #344 as an example and the conversation about Function Object vs. Value Object)