Modified Fruit.java to get all tests to work.
Added main method.