Simple graphics demo

added graphics demo code.