Implemented a method to check if someone has won