extended PAIRS hash to include all winning possibilities. added 'indexOf' method to winner function to determine winner