problem 3 completed but unomptimized and has not reached an answer