here is my code for walking and resisting being pushed over