Add notes in comments at beginning

Add notes for sources of help and parts of code, also took out a line I didn't need anymore