Update main.cpp

instead of y0-y10 it's yn5-y5; allows for a more expandable program with less hassle.