Created Pseudo code for feed_forward