+= concatenation
merged it all into one function, plus 30% more rows!
updated comments and pre tag
adjusted some comments I missed before
Merge pull request #11 from rlauck/master

merged the extra loops into a single function + a bonus 30% more rows