First upload of function file

Chromosomal rearrangement script contained