Made updates to minimax algorithm and added smalls tests