Update sort_demo.cpp

added the head file for built-in function rand()