how to rotate image 90 degrees in python. Basic idea: In rotated_i