little updates on assignment2

setinv->setinverse
getinv->getinverse