Solves and visualized the heat equation.