added int2bin
added reverse ordering to int2bin
Added factor.repr
updated factor.repr to input characters
updated splits to reflect factors. closes #1