Arduino motor shield sketch problems

Motor shield: Motor Shield - Arduino motor/stepper/servo control