Building and Optimization of Neural Networks from Scratch with Numpy