added FSM and Agent chapter
Merge pull request #7 from rjb1971/add-states

added FSM and Agent chapter