SubState Demo

Added demo for SubStates functionality
Merge pull request #119 from MegaLeon/dev

SubState Demo