US scientist Margaret Hamilton is being hailed as a pioneer for her groundbreaking work developing software for NASA's Apollo lunar program.