Added test files, the learning script and the demonstration program.