added pad method to string utils