pingpong is a simples algorithm that say to print ping when a variable in for is divisible by 3 and pong when is divisible by 5.