Implemented FPS management.

FPS is defined in the main code.
FPS managed with SDL_GetTicks() and some math.