The reality is that computers are actually fairly stupid. They only do exactly what you tell them to but they are very good at doing what you tell them. You can think of syntax as commands that the computer will understand. In terms of walking these would be commands like move left foot up 2 inches, move left foot forward 6 inches, move left foot down 2 inches. Fortunately we will learn how to make the computer remember groups of these commands later.
A good place to start would be data storage and just move on down the list(side menu).