Please take a moment to read this: How to get the best out of this forum - Using Arduino / Installation & Troubleshooting - Arduino Forum and then go back and format your code and use code tags. It helps people help you.
Does your CO2 sensor give the proper values when used alone?