fixing winning combinations to build dynamically