add square root algorithms