Allocated plots on heap

Added chunk and plot constructors and destructors
Also added makefile