added cpp examples for neuralnets

@lisitsyn Please take a look :)