Canadian computer whiz is Princeton University’s first-ever black valedictorian