Character direction is working. Renamed wall and direction variables.Fixed a related minor bug.