Refactored to yield a command-line driven tool.
Added fraction problems.