Implemented a check if user won