Designing a less toxic method for MXene synthesis