Painting Example used for college

Quick painting example taken from stack overflow, may be useful later.