updated compiler settings. Added problem 3 sol