Started write-up.
Added a fibonacci example with output and state.