Added parameters and a constructor to the GolfCourse class