Improved readme.
Fixed the stdinput readme.
Made the code PEP8 compliant and renamed the stdinput file.
Added some docstrings to the fsm and corrected the name.