Add `Formula` class to provide a user-friendly entry point.
Add `Formula` class to provide a user-friendly entry point.

It is essentially a thin wrapper around the safe_eval() function.

The important part of this commit is that it enables us to 'cache'
the intermediate result in the form of an instance variable. This
is (in my opinion) much clearer than function-level memoization.

xica/formula