Game of pong to learn about canvas and javascript