Implemented a method to created tiled background images