Added generate.py file containing make_sparse_coded_signal().
Added corresponding test.