Calculating square root iterating n-times.