Updated the code to pull strings from Scanner.hs