added snpy library
checkpoint. added fcn in join.py