Convert Ex2_02.scala to use Double instead of Int for Point x/y & add midPoint() method