added accept.c

This is a rough draft of the word acceptance functions.

still need to implement:
-curses client update for scoring
-check if a word is valid (currently always true)