Update Parse.cpp

This should pretty much be the final version. I will check for other bugs, maybe comment a little but other than that it should be ready!