Class BoyNameList has method readNamesFromFile(FileReader path)
which store pairs Names-Frequency in array of BoyName instances and in 2D array newNames[][]