Added demo for class varialbles.
added self demo and pass by reference demo