added functions to stdlib
Merge pull request #212 from OgerLord/master

added functions to stdlib