everything works except for the readFromFile function. line 23 may be reading ascii val