added op for pooling

Basically adds pooling to the supported ops.