#32 - Created padding function that can be used with TransformingGenerator