added makefile
ex3; added trainer.cpp