Optimization

created accessor methods in car class and created a PathGenerator class.