fix a bug in adt_array.py; add 'sparse matrix' in adt_matrix.py