nnagent functional

nnagent:learn_xor() demonstrates usage
Add a comment describing learn_xor