Added square detector sample code and image examples.