add solutions to P36 and P37
add solutions to P40
add solution to P46