add srand rand random

add srand(), rand(), srandom(), random()
add heap_sort2

Signed-off-by: Lindell Xu <lxu@vetronicsltd.com.cn>