Implemented Priorityq class, insert method, and fixed tests