Ex1.27

Half done Ex1.27 wrong solution; needs to be fixed