Tesla interview question

Implement the conv operation with numpy.