To run the program, simply open the project file, compile and run. The program will put a random number of fish and sharks down to start off the simulation. In each turn, each fish looks around to see if any spots around it are empty. It picks one of the spots at random and moves there. If it is old enough, asexual breeding occurs, and it leaves a brand new fish behind in its old spot.
Sharks look around to see if there are any fish around.
If there are, it picks one at random to eat. If there aren't, it moves as a fish would, with the same rules for breeding. If it hasn't fed in a specified number of turns, then it dies of starvation. Breeding time can be set individually for the sharks and the fish, as can starvation time. Fish never starve.