Write a program that finds the largest area of equal neighbor elements in a rectangular matrix and prints its size.