A (gentle) introduction to programming for researchers