TEKO Vietnam Interview Question

Write a function to calculate square root