Updated demo.cpp

Corrected some case mismatches (Upper instead of lower)