created the priority queue heap thing with tests
fixed extra line issue
restructured tests
refactored code