add comments and switch col/row
Merge pull request #1 from cyrushx/master

add comments and switch col/row