a random image generator written in java