it was a custom , as it was among many of the native nations in that land , that when a young man wanted to court a young woman he made a flute , then stood outside her home at night and played it for her .