Adding initial version of Check.c and spinstuf.c.