Graph Theory Using Python For Regression Testing