edit class Apple

add method getNumStone() to class Apple