Uses an Integer-based square root to find the result