Add entities Ticket and Passanger. implement comparable and comparator
in Wagon.java. Add hashCode(),toString(),equals() in entities. todo:
think of need in Ticket; and should Wagon have field position (in train
) ?