Tried extend instead of append. Results less than promising.

This version doesn't seem to return both values when the same main card matches both to the right and beneath. However, it returns the image name "naked" instead of in brackets, so that's nice.