Update main.cpp

Make sure the second position has a letter in the end