Refactoring due to changes.
Cleaning the code

Documentation added.
Constructor has more options.
Refactoring and cleaning.

Documentation added. Prints removed. Refactored the controlling methods.
Refactoring and documentation

Added documentation and made some methode private.
Added explanation for _nextState method.
Documentation added.
updated for version 0.0.8