added countLines method
added contributing guideline