Ancient ways of doing math, in code!