Add some files to start with, Board and TicTacToe main.
Finished function to determine a location's valid adjacent indices on the board along with the necessary auxiliary functions.