implemented solution hash to determine winners