Implemented isActive

As long as a player can make a move, the game is active. 
** Also fixed an error that occurred when this was implemented. Computer tried to make an invalid move.