added remove_space method

added the remove_space method to bottom of parser.cpp commented out