Implementing a simulation of an ocean containing sharks and fish using two-dimensional arrays and linked lists