Superhuman interview question

Write a square root function