Added more control flow demos

Change-Id: Iccd6dd330b21c6ed3c9c2821904d5048d867ae88