Changed implementation of Priority Queue so that it can be used for all further needs. Also implemented methods to support semaphores. Don't have access to compiler so may not compiler. Going to fix that right now.