Changed many int types to unsigned long int types where appropriate
Updated test to read do a trace file check
Added guards. Added comments
Added comments to main
I was so wrong about deque::resize() function. Removed them. But wtf it works now? I don't fucking get it.