Pregunta de entrevista de Zillow

3] Write a function that performs 1D convolution