Adding memory deallocation to project
Applying lessons learned in VS test project to the arduino project, using dynamic memory allocation