refactored the program again. Changed computer.js file to minimax to make intent more clear