The fish and sharks solved using parallel programming