demo on blocks in objective c