The US president's first written piece of code