Timer written in python using pygame.