When the shales that now contain gas were formed, there was no gas in them. Describe how the organic matter was transferred into gas trapped in shale.