Fixed the giveToPlayer function not correctly calculating inventory space
Added function to check if an item set exists.