Energy from gasification of solid waste