ICG improvement

implemented function and return
SYN tree documentation
TEST new dynamic test file