added padWith function
Merge pull request #34 from gwenzek/master

added padWith function