I can get the movements to work in PyCharm but the moment I move in the wrong direction it populates an error related to the key.
Please let me know what you think ab