Add simple switch example.
Add while loop example.