Typo fix

Typo fix
Docstrings and return value

Method comments should be docstrings.

check5() return else condition not in loop.
Merge pull request #33 from richierichrawr/master

Docstrings, typo, and return value