Mohamed Solaimane finished writing his thesis in a tent for displaced people in the Strip, overcoming unimaginable obstacles.