public void move()
{
	if (direction == "left") {
		moveleft();
		moveleft();
		moveleft();
		moveleft();
		moveleft();
		moveleft();
		moveleft();
	}
	else if (direction == "right") {
		moveright();
		moveright();
		moveright();
		moveright();
		moveright();
		moveright();
		moveright();
	}
}