exam solution added (not finished).