Add ping function to bashrc