added instruction to print the whole array
added * instruction