Removed ignore for C++ files
Added comments for cpp file
CPP file to find the percentage of each material type requested by a user.