Code for Ex. 2 done
Missing pdf answers for a)
Please check for errors / missing vars