add solution to ex25 of golang.org