wrote plans for finishing solution algorithm