Working on scanner. Big switch statement.