Tutorial update - State machines and Requirements chapters + Adapt examp...

Tutorial update - State machines and Requirements chapters + Adapt example code. Replaced some screen shots.