Used linked lists (actually a list of lists/ array of lists) to encode an image in a compact format and perform operations on this format