Playing Ruzzle on a smartphone using lego mindstorm, matlab and a webcam