Text this: Convolution and max pooling layer accelerator for convolutional neural network