array and string program