The mul function is a strategy for multiplying numbers with a series of nested functions. It is not used very often but some interviewers like to see if you are familiar with it.