recursion content - traversing an image