Okay, now you start golfing down the code by trying to remove extraneous characters.
_________________________
There are two types of vessels, submarines and targets.