added square matrices
how test examples?