The crocodile became man's good friend