Added test to demonstrate network usage
Added convenience constructor which takes a File to be used for the XOR data