It wasn't too hard honestly. The exam was just a continuation of the coding exam we had last friday a week ago. Since everyone failed that pretty hard he gave us 2 more hours (as well as an entire week to think about it). I basically coded the entirety of the code on monday for practice.
I am actually very surprised that so few of my classmate didn't do the same. Most people just thought about the code without actually doing anything.