added levels, inventory, item generation, fixed bugs, added autosave feature