Properties of Two-Dimensional Words