added sqrt function from https://golang.org/doc/code.html with tests that can be run on the command line. nice!