added the print semaphore to help debug the list
sw working, bug was in the linked list prev pointer code