Trying to add print function for the array in a good looking manner.