A demo of State Design Pattern