added random number generator function to the helper
built loot generator for enemies
refactored the item system