Implemented mergePullRequest method