All works with arrays!

Now the score works as well as inventory and navigation and button disabling. I will try to make new functions to create a few puzzle elements.