A machine for thinking and imagining otherwise