added older main, changed new main to handle more spheres