Extended polyglot.py's functionality
refactored a function to make more sense
added missing parentheses
Merge pull request #1 from syndbg/master

Adding functionality for unknown command