Added getip.rb script

Script to get system IP.