added training on dataset
added xor test