Update pirateShipFINAL.m