MadGraph, Pythia, Delphes production of 2HDM A to Zh and Physics Analysis code