Optimization of Program Organization by Cluster Analysis