ignoring .h and input.txt files
add solution check for 31_2
modify 23_1 check to be stronger
Merge branch 'feature/31_2'