added main.c; currently unoperational