Added file printarray.c
Added code for printarray