added my own function

Not much added really, just wanted to be more active on github and give it a try! Cool project!