Take two. I have added the memory allocation calls to the subroutine. Nothing else has changed from the original file.
Get rid of uneccesary whitespace difference between branch and master.