keypress recognition/movement

got keypress recognition fixed along with logic for movement