Fixed some errors, and added output tracing to GoBackN, but segfaults with alot of messages