Margaret Hamilton, NASA's First Software Engineer