Update lab3.c

I believe this solution will work, I added a linked list queue. I have not compiled yet, but i think this will work or is very close to being a working solution.