random item generation by tier!

finished the item generation by tier code! wooooo