adding SparseComm.java and a sample code to use SparseComm