add conversion samples
Merge pull request #8 from marschall/conversion

add conversion samples