go(_,[],_,_,_).
go(Tcl,[List|T],X,Y,Max) :-
List = [Name|Values],
tcl_eval(Tcl,'get_case',Case_String),
tcl_eval(Tcl,'get_info',Info_String),
tcl_eval(Tcl,[set_information,Name],_), !,
Case is (Case_String - 48)*5,
Info is Info_String - 48,
Position is Case + Info,
nth0(Position,Values,Value),
rectangle(Tcl,Value,Max,X,Y,X2,Y2),
go(Tcl,T,X2,Y2,Max).