slight change in dominos.cpp and restoring main.cpp