Fixed #26 walking bug

Added get_pressed() to the code to keep track of keys held down.