Update main.cpp

added capital letters to be allowed