Adding a method to print arrays out.