public Point getNeighbor(int direction)
	{
		Point neighbor;
		
		switch(direction)
		{
			case 0 : neighbor = new Point(xPos, yPos - 1); //North
					 break;
					 
			case 1 : neighbor = new Point(xPos + 1, yPos - 1);//North East
					 break;
					 
			case 2 : neighbor = new Point(xPos + 1, yPos); //East
					 break;
				
			case 3 : neighbor = new Point(xPos + 1, yPos + 1); //South East
					 break;
			
			case 4 : neighbor = new Point(xPos, yPos + 1); //South
					 break;
					
			case 5 : neighbor = new Point(xPos -1, yPos + 1); //South West
					 break;
			
			case 6 : neighbor = new Point(xPos -1, yPos); //West
					 break;
					
			case 7 : neighbor = new Point(xPos -1, yPos - 1); //North West
					 break;
					 
		    default : neighbor = new Point(); 
		    		  break;
		}
		
		return neighbor;
			
	}