Added documentation to A4 - HamiltonStuff