Coding for part 3
Coded implementation for Ocean class method sharkFeeding(int x, int y)