added a generic select example
Merge pull request #16 from seralf/master

added a generic select example