1st functional version

Moved all files to the main folder.
Added Trainer class.
Changed main.py to XOR_example.py