checks the status of a vm before giving ssh instructions, closes #170
Merge pull request #219 from youreddy/checkVM

checks the status of a vm before giving ssh instructions, closes #170