Close the window event SDL_QUIT and KeyEvent

Close the window clicking in the "x" and if u push "UP" "DOWN" "LEFT"
and "RIGHT" the image changes