Flappy bird implemented in Python