Adds complex animation, directional idle state, attack key debugging

* character now faces the proper direction on key up
* the j key is now the input for attack
* hero.animation is now an array with index 0 being the y coordinate and index 2 being the amount of the frames in the animation