Formatting code, checking for correct hanoi command

Added remove line numeration feature and tr() function. Added check command syntax and distinguish commands feature.
Merge pull request #2 from IsItSaturday1/syntax-checking

Formatting code, checking for correct hanoi command