Addded hashing factory for discretizing continuous attributes
minor changes