intersperse function joins list of lists together with a seperator