public void run() {
		while (true) {
		// Bob needs his rest.
		try {
			Thread.sleep(sleepTime);
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		// Bob needs info on his paddle.
		int paddlePosition = paddle.getPosition()[0];
		int mySize = Paddle.getSize()[0];
		
		// Bob needs info on the ball's location.
		int[] ballPosition = ball.getPosition();
		
			if (ballPosition[0]> paddlePosition + (mySize * 0.75)) {
				paddle.moveRight();
			} 
			if (ballPosition[0]< paddlePosition + (mySize * 0.25)) {
				paddle.moveLeft();
			}
		
		q.offer(new Position(paddle.getPosition()));
		}
	}