IBM interview question

1) implement max pooling