added main.c to de2 branch