Added carInfo function in Car.m

With ternary operators.