public void move(Direction direction) {
		if(direction.equals(dir)) return;
		tale = body.removeFirst();
		
		Cell head = body.getLast();
		System.out.println(body.size());
		
		if(direction.equals(Direction.moveToRight)){
			body.addLast(new Cell(head.getX(), head.getY() + 1, head.getValue()));
			dir = Direction.moveToLeft;
			
		}else if(direction.equals(Direction.moveToLeft)){
			body.addLast(new Cell(head.getX(), head.getY() - 1, head.getValue()));
			dir = Direction.moveToRight;
			
		}else if(direction.equals(Direction.moveToUp)){
			body.addLast(new Cell(head.getX() - 1, head.getY(), head.getValue()));
			dir = Direction.moveToDown;
		
		}else if(direction.equals(Direction.moveToDown)){
			body.addLast(new Cell(head.getX() + 1, head.getY(), head.getValue()));
			dir = Direction.moveToUp;
		}
	}