Added example for behaviours (simple process engine).

Change-Id: I35357007fb8cc48d7bab1f189479fa8c3675c1d8