Push reducer + main functions of SortModularityChange.java

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>