Merges given list of integer entries acccordingly
I'm just going to review creating_resulting_list.

def creating_resulting_list(length_line):
    """
    Function that create a resulting_list with equal number of \
    zeros as length of line
    """
    from itertools import repeat
    return list(repeat(0, length_line))

#BEGIN Test
#print creating_resulting_list(2) == [0, 0]
#print creating_resulting_list(0) == []
#END Test



There's no need to use backslashes at the ends of lines inside a triple-quoted string.
The name creating_resulting_list doesn't help the reader understand what it does. What is a "resulting list" anyway? What this function does is to create a list of zeros. So a better name would be zeros_list or just zeros (see for example numpy.zeros, which is similar).
The argument is called length_line. But this is too specific: nothing in this function cares about lines. By avoiding dependencies like this, you can make code more self-contained and easier to understand in isolation. So I would call this argument just length.
Since the import statement is inside this function, it gets run every time the function is called. If you moved this statement to the top level of your module, then it would be run only once.
The test cases should be made automatically runnable, using the unittest or doctest modules. I'll show below how to do it using the latter.
The sequence documentation says:


  s * n or n * s    equivalent to adding s to itself n times


so you don't need itertools.repeat, you can just multiply.


Revised code with doctests:

def zeros(length):
    """Create and return a list of zeros with the given length.

    &gt;&gt;&gt; zeros(2)
    [0, 0]
    &gt;&gt;&gt; zeros(0)
    []

    """
    return [0] * length


The doctests can be run using python -m doctest program.py.