Declared and defined the initWithInteger method.