move headers (and functions) to dominos.h
rename dominos.c to main.c