Implemented heap get answer, placed get answer function in interface