P queue

Added more tests
Heap can now be created in either max or min