adding scanner example
my own more modern less confusing Scanner!