Calculate Algorithm Runtime for Exponential Growth