add functional example
add repository
Merge pull request #4 from otaviojava/master

add functional example