finished randomimage.py