add functor demo
test begin() of vector
add by ref demo
use common head files
add foreach demo
use implict double conversion function