Pset4 directory in workspace loads forever



i was working on cs50’s “recover” problem, when the workspace froze, i tried restarting but it’s still not working. i think i accidentally created an infinite loop, and it keeps creating jpeg images, the memory keeps getting filled, and the terminal is now stuck too and it wont accept any commands
please help

here’s a link to my workspace