figure out how many ships have sunk

dfs