============= Now has weights for each piece. Now detects endgame (uses different evaluation function)