[feature] [heap] add get_first/last/next/prev functions

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>