Add function to print the results of an attack

This commit is the version that I think is most reasonable (e.g. not quit game
if an invalid index is entered etc).
Follow instructions for the assignment

* When invalid coordinates are entered, exit the program
* When the specified coordinates is not empty (i.e. already hit, missed, or
        sunk, return as illegal move and exit program