add newton methods for sqrt
the longest substring without repeating characters