%CATFOREVER - cascade myCat with feeder
%initialize
driverState='happy';
catState='happy';
for i=1:10,
%update the driver State
[driverState, input] = feeder(driverState, '1');
%update the cat State
[catState, output] = update(catState, input);
disp(output)
end