Created the Scanner class