finish sorting one SCC at execution
Merge pull request #53 from yifan-gu/execution

feat and refactor(replica.go)