completed gc1_initial_solution.js