Code that I wrote for the My Pocket Solver app, available on the App Store.