changed the head format
added the functions from my website; added a function to order the ORG.PID by the starting offset of the ORG.PID, so that when ploting the map, pattern is easier to see