Update code to center photo in page and added more comments.