Added binary heap implementation.
Added memory_queue implementation.