Update main.cpp

corrected parsesolution