Fixed some bugs, restored some correct code, added a finished tree with an 1 bit representation of a for testing single character throughput.