What is the square root of 576?
Return the exact integer square root for a nonnegative integer input. For the interview case, the input is 576 and the expected output is 24.
Function contract: square_root(n) accepts an integer n and returns its exact integer square root. Inputs are guaranteed to be perfect squares.
def square_root(n):