Create mesh_blocks.sql

Code for calculating heat values for mesh blocks