renamed some struct instance names for clearer code
another exercise about linked list