Modified Ping.do() so that it acts more like a public member function.

Removed print statements and return a dictionary/Null on completion.