adding frontend of tic tac toe app