Added some basic heap allocation rather than hogging memory just after __end__. No free() equivalent yet as I'm not sure I'll need it.