Extract info from pk script example

Code example where we extract information from a public key script. Use
go run [filename].go to run every go example instead of go build.