adding hg2lg function, has been tested, but need to add test example

2 jobs for master
Status Name Job ID Coverage
  Test
passed python_2 #95

00:00:13

passed python_3 #94

00:00:14