Calculate Execution Time for O(sqrt(n)) Algorithm