Comments added

Code commented more clearly. I think.