R apparently can be initialized once so need to pass in reference, also added ability to create a simple two column table with map or unordred_map