Implement and test the following methods.

- Utils.extract
- Utils.fmap
- Utils.padding
Implement and test the Utils.extend method.