added variable description

added comments to describe variables and lines of code