Programming assignment to merge two skylines together and output the list of points
A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when
viewed from a distance. In this assignment, buildings are assumed to be rectangular and
represented by an ordered-triple of integers, 〈??, ℎ, ??〉 where ?? denotes the x-coordinate of the left
side of a building (along the x axis), ℎ denotes its height (along the y axis) and ?? denotes the
right side of a building (along the x axis). The x axis is assumed to start at 0.