modify readme, correct sample program