allow custom stdin/stdout streams
allow interrupts for missing input
first part of maze bot