Added example

Added example on how to use the JLImage

moved the class inside the example