Added end game condition
Added end game condition #2