added Factors game mode

+ factor.js