Lovelace’s diagram from Note G, the first published computer algorithm