public boolean checkGuess(Guess g) {
		int x = g.get_X();
		int y = g.get_Y();
		int l = this.ships.size();
		boolean hit = false;
		boolean sunk = true;
		int i = 0;

		while(!hit && i<l){
			hit = this.ships.get(i).testHit(x, y);
			if(hit && (this.returnCharacter(y, x) != Grid.HIT)) { 
				this.board[y][x] = Grid.HIT;
				if(this.ships.get(i).isSunk()) {
									}
				//	System.out.println("A Ship has been sunk!");			
			}
			else {
				this.board[y][x] = Grid.HIT_MISSED;
			}

			i++;
		}
		//if(!hit) 
		//System.out.println("Miss!");

		for(int j = 0;j<l;j++) {
			if(!this.ships.get(j).isSunk())
				sunk = false;
		}
		this.setChanged();
		this.notifyObservers();

		return sunk;		
	}