updated to merge
enabling color in test/testall.sh
bugs fixed at memorization
imporved stat mode
imporved stat mode