Implementation of some parallel algorithms arising in sparse matrix and other applications