Basic Tic_Tac_Toe game written in Javascript