The Ball class is implemented, it rebounds on each edge (even the left and right ones)