ZoomInfo interview question

Implement a multiply function with recursion