Create CarFactory.java

Final state of the CarFactory class for the Array and For-Loops practical