Learn how to program in C with Arduino - function as block of instructions