> But do you know how to fix/improve it? Sorry, I have to give more info. I think the Turing machine and the Busy Beaver code work correctly. I think the problem is inside the "printing" function, that is the TypeListToArray, that converts a CT linked list to an array, that later is printable. Bye, bearophile