added documentation to head of program