Getting Input from user

Scanner class is in util package.
It scanne String and primitive types and parse them using regular expressions.