Implemented generating win matrix method