Added another function for generating library routines

This function generates library routines to get  data ranges
of an LPU for different arrays that belong to it.