Added pitrain and pi images to test the python scripts, also fixed a syntax error in one of them.