Building a Fully Connected Neural Network Layer - Coding problem | OneNoughtOne