what is repainting of the screen
Repainting means when you are playing a game or on a screen then after some 
seconds of even milliseconds you are doing some work so you need to show that 
work to the user so in this case the screen repainting works 
with the game loop
