Added movement of the hero(WASD), fixed initialization errors.