Refactor fo the SSH class.

Fixed some bugs in the initial development.
Added the ping test into the inter vmconnectivity test
Refactor of the ssh modifications

Cleaned the codded, added comments, and improved the readability.
several changes of formating to turn the code flake8 compliant
Merge pull request #5 from alvico/fix_rebase

Refactor for the SSH class.