Implement NumPy neural-network layers | OpenAI Interview Question