wrote a square root algo!