Preprocessor was implemented with stack. Ready to debug.