Jaywalking Could be Legal with Self-driving Cars