Fixed and added things to the character class

I fixed the inventory to work with size in the correct way this time.
I added the ability to transfer gold and resources to other characters.