client code for matrix assignments
client code for matrix assignments - cont'd