How to convert waste to gas energy