Added code to compare players' hands and determine the winner