The calculation of twist-4 corrections to the photon structure function