Added chech for connectivity in Scheme class
Added printing of matrices