Commented each line of code to let someone viewing the code know what is the purpose of each line.