add define of REP(i,n) REP(i,a,b) in sais_twt514.cpp