write output to both jpg and svg
don't back_insert() when you transform()!
add some comments
show original image
sort array of pointers to structs instead of sorting entire struct so that it's fast.