
% in compiler type:
% new_list([apple,prune,grape,kumquot],X,Y).
% returns the H (head) and the T (tail)
% X = apple,
% Y = [prune, grape, kumquot].
%
% new_list(X,apple,[prune, grape, kumquot]).
%
% new_list(X,apple,[prune, grape, kumquot]).
% returns X = [apple, prune, grape, kumquot].
%
% new_list([apple,prune,grape,kumquot],prune,[prune, grape, kumquot]).
% returns false

new_list([H|T], H, T).


