Update extract.go

Added some bare bones documentation.