Probing the first galaxies with the Square Kilometer Array