Feed Forward Implementation for convolutional neural network (CNN) and apply to image recognition