UPDATE

Started debugging the last version. I haven't finished debugging and I
have some issues but I'll work on it tomorrow. :) Also included an
error.txt file that contains the things that I changed.
Parsing Done!

I've done the parsing already. You check the code first then if you
can't understand what's going on just ask me. :)