adding a method to create a dummy network adding unit test for complete XOR learner