Add function PING

It closes #37