A program for converting images into Lego mosaics