Created iteration over student array