Update square root.cpp