added makefile and some to mlp.c