Walking Functions

Moved x position updating into designated functions