DFT investigation of electronic structures and magnetic properties of halides family MeHal3