Implemented 'removeFruits' function and unit test.