Implement createSelector(...inputSelectors, computeFn): returns a
memoized selector that re-runs computeFn only when any input selector's
output changes (compared with Object.is).
solve(states) runs a selector that doubles state.count and counts
how many times computeFn was called.
Sample tests