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. The tests are included (4 for currency (gold) and 5 for resource).