Implemented Logging

Implemented logging by reusing some code from Ping.py
Merge branch 'master' of https://github.com/rmgr/PingPlus