Added ArrayDemo code