Python Create Image Pixel By Pixel