Changed some code around

Removed the else statement in printedArray to print the first column
correctly.