printarray function is now in a seperate header file