An attempt to write a pong game using Erlang/OTP