added op for pooling

Basically adds pooling to the supported ops.
The kernel is in another function (c_set_filter) just bellow c_set_tensor4d.