Update FreightCar.java

Getting functionality working.