Added hammer object and implemented hammer functionality
Added determine animation so that animation gets determined dynamically instead of when key is pressed or released