I just copied the original code [Embarrassed]
_________________________
There are two types of vessels, submarines and targets.