Implant for fusing a joint or bone material