rpi doing the Exercises

Should have used a state variable in the greet sub and not used global(ish) variables. Next time...