Implement Cnn From Scratch Python