Start for arithmetic coder
Work on arithmetic.cc