Catkinised lab 2 code for ME 597