Python program that plots the results from tridiag.cpp