Started with code from Prof. Brailsford in "Busy Beaver Turing Machines - Computerphile" https://www.youtube.com/watch?v=CE8UhcyJS0I