Added lecture code, attempting modifications to allOutAttack