Initial code checking - This is just exploratory code. Currently non-functional.
Added some structure and incomplete output_square_icons and aspect_fit functions.