Add create sample; Fix code in readme