Solution to the Sparsify challenge