added a string variable array and initialized it
added a string variable array and initialized it in the right way
 added a for loop
added a print statement