added flows.py to plot the flows on the braess network and changed stuff on the optimise function