Students take safe-driving pledge