added pps.sh for Ping-Pong score calculation