Python class for sparse representation of vectors (and more generally R-module elements).