function map = fill_map(map, xa,xb,ya,yb,cost)
% Michael Otte
% University of Colorado at Boulder
%
% this is used to draw an object of cost at map(xa:xb,ya:yb) 

map(xa:xb,ya:yb) = ones(xb - xa + 1, yb - ya + 1) .* cost;