Script that continuously pings a server and calculates the moving average of the last few pings.