added '==' operator and matrix of dots line