pops2genind function

Function converts pops to a genind object