Tesla planning to build self-driving car within 3 years