add main function

added main function to project folder and wrapped a new game with a new
board into the main function in the core file.