A collection of various helper functions and complete solutions I tend to use quite often.