Added I/O to Thue interpreter