Added Scanner in-class example.