Simple Car classification that was used as a final project in advanced Java