add new sample for create segment. #9
Merge pull request #10 from suzuken/i9

add new sample for create segment. #9