add example lena
move location of srand()