created array function practice file.