Added possibilities of debug prints + possible to change length/size of bytetrees
Added debug printing