methods for producing biochar and advanced biofuels in