Added initial code for Greedy Feed Forward Algorithm