_checkValidDirection(initLetter, initNum, finalLetter, finalNum){
		if(initLetter === finalLetter){
			return "Horizontal";
		}else if(initNum === finalNum){
			return "Vertical";
		}else{
			return false;
		}
	}
/* The rule goes as follow: The ship needs to be positioned horizontal or
	 * vertical. So we check if the passed coordinates have the same letter or
	 * the same number. */
The rule goes as follow: The ship needs to be positioned horizontal or
vertical. So we check if the passed coordinates have the same letter or
the same number.
The rule goes as follow : The ship needs to be positioned horizontal or vertical . So we check if the passed coordinates have the same letter or the same number .
_checkValidDirection(initLetter, initNum, finalLetter, finalNum){
		if(initLetter === finalLetter){
			return "Horizontal";
		}else if(initNum === finalNum){
			return "Vertical";
		}else{
			return false;
		}
	}
_checkValidDirection ( initLetter , initNum , finalLetter , finalNum ) { if ( initLetter === finalLetter ) { return "Horizontal" ; } else if ( initNum === finalNum ) { return "Vertical" ; } else { return false ; } }
The rule goes as follow: The ship needs to be positioned horizontal or
 vertical.
The rule goes as follow : The ship needs to be positioned horizontal or vertical .