gl2genalex function

Converts a genlight object into a format suitable for input to genalex