finished sqrt implementation