Bjak interview question

implement min-heap from scratch, shortest graph problem