Fix compile-time errors

Fixed all compile-time errors. In doing so, also added a couple of
functions: "AddItem" in "items.c" and "Targeted" in "magic.c".
Update README file

Made some minor changes to "README.md".