add some array practice code