fixed an indentation issue in match_images and made the example more
complete