added cpp examples for neuralnets
Merge pull request #2499 from khalednasr/neuralnets_cpp_examples

added cpp examples for neuralnets