Added an end method to the state base class.

This method ends the execution of the state after the next update of the
statemanager.
Started to code the victory screen.