fixed bug about 'while' statement
wrote README
minor fixes on README
more fix