add sqrt and searchInsertPos.cpp