consolidate across word and down word calculations in validate_solution()