/* found a small bug where I compare Integers using == instead of .equals.
It causes photographs not to be rotated properly (or basically at all).
*/