Adding train test split code
common neighbors, other code changes