Update sort_demo.cpp

added the head file for built-in function rand()
Merge pull request #23 from jackeylu/patch-1

Update sort_demo.cpp