refactored splice method, created empty squares method
computer generates a move