Calculated time taken based on inputs

Calculated and logged to console result of calculation.