updated README, added program header info and a few comments