As a college homework we\'ve been told to create two threads that enter a deadlock. My code should work but when attempting to compile I get errors saying the object I created c