winning hand logic added