Refactor winningAlgorithm using lodash difference, and swap each to
forEach