Added string as accepted type
Finished implementation of scanner