fix: exclude headings from checks to get proper errors, closes #19.

Using a regex to find all lines starting with the hashmark and preserving those headings in a separate string array. Added a test case to cover this issue as well.