Vector class demo