Added first bit of code and tried to describe what it meant to the best to my ability. Also added link to source article.