added package description
First function of the project! gen_segs()