added factory methods for creating sets
use deterministic iteration-order data structures
SPARC support for Truffle