added sample solutions for post12 exercise