Create a Segmented Control Example

When starting off with the UI module, I had no clue how to use the Segmented Control. I'm sure this would benefit lots of people!