Added if-statements to end game if someone won