added README, updated main.c