The oil firms have fled and an Isis-affiliated insurgency has engulfed the region. As foreign troops begin to arrive, hundreds of thousands face desperate journeys to try to find safetyPhotographs by Ed Ram/The GuardianPencils scratch as students in ye…