how graphit extracted and purified