Completed printSquare