added example test, changed makefile to call test makefile
Added example test and moved main.c (and all other untested code) into main dir