added plot data structure figure.h for storing data to be later used with the figure class