Compute and return the integer square root of x (i.e., the floor of the real square root).
Example 1:
Input:
x = 8
Output:
2