adding a couple neat small programs from the tutorial