First working version of one hidden layer with letter detection