Convert 'removeComments' from recursive implementation to while loop (no risk of stack overflow for large files)
adding PR#44 which cleans up the removeComments function