Add State pattern demo
Add State pattern demo