Factors for IntSelector on Issue #32

Enabled factor algorithms for IntSelector. Added makeValues and makeFactors. Added test as well.