Add deallocate function, fix some bugs
Small fix in binary heap class
Important fix in memory manager (add swap for blocks)
Fix bug in deallocation
Changed data types and added input read
Changed data types