Added source code and example of usage