small array program