function t=twos(r,c)

if nargin==1
  c = r;
end

t = repmat(2,r,c);
