function no_white=remove_spaces(s)
% This function removes spaces for the program curves_of_unity.m
% A string, s, is passed in and the string no_white is returned

ctr=1;
% Do left side first
length_s=length(s);
no_white=[''];
while s(ctr)==' '
    no_white=s((ctr+1):length_s);
    ctr=ctr+1;
end

% Do right side second
ctr=length(s);
length_snew=length(no_white);
while s(ctr)==' '
    length_snew=length_snew-1;
    no_white=no_white(1:(length_snew));
    ctr=ctr-1;
end