replace assertions in encodeSeq with exceptions
add insertExtend method in SimpleCountingHash and SimpleHashMap
fix ToUpperTable and add class in Makefile