Added code and a sample image.