Changed the do while loop in the fruit class to contain a switch statement instead. Less code, easier to read.