don't dump the result of evaluating the last statement
modify sample codes to dump results explicitly
added union-find example