2015-03-08

So I have a text file containing ints, doubles, strings that I need to read into a 2D array. there Array should have 6 columns but the rows are not known until you read the entire file. I'm guessing it is some 700 rows This is what I have so far. If I eliminate the array it prints fine but with the array I keep getting errors.
I have searched many questions like this but they usually only work with ints/doubles. Also please don't recommend arrayList as that has not been taught in our course.

1 1 Allen, Miss. Elisabeth Walton female 29 211.3375
1 1 Allison, Master. Hudson Trevor male 0.9167 151.5500
1 0 Allison, Miss. Helen Loraine female 2 151.5500
1 0 Allison, Mr. Hudson Joshua Creighton male 30 151.5500
1 0 Allison, Mrs. Hudson J C (Bessie Waldo Daniels) female 25 151.5500
1 1 Anderson, Mr. Harry male 48 26.5500
1 1 Andrews, Miss. Kornelia Theodosia female 63 77.9583
1 0 Andrews, Mr. Thomas Jr male 39 0.0000
1 1 Appleton, Mrs. Edward Dale (Charlotte Lamson) female 53 51.4792
1 0 Artagaveytia, Mr. Ramon male 71 49.5042
1 0 Astor, Col. John Jacob male 47 227.5250
1 1 Astor, Mrs. John Jacob (Madeleine Talmadge Force) female 18 227.5250
1 1 Aubart, Mme. Leontine Pauline female 24 69.3000
1 1 Barber, Miss. Ellen Nellie female 26 78.8500
1 1 Barkworth, Mr. Algernon Henry Wilson male 80 30.0000
1 0 Baumann, Mr. John D male 25.9250
1 0 Baxter, Mr. Quigg Edmond male 24 247.5208
1 1 Baxter, Mrs. James (Helene DeLaudeniere Chaput) female 50 247.5208
1 1 Bazzani, Miss. Albina female 32 76.2917
1 0 Beattie, Mr. Thomson male 36 75.2417
1 1 Beckwith, Mr. Richard Leonard male 37 52.5542
1 1 Beckwith, Mrs. Richard Leonard (Sallie Monypeny) female 47 52.5542
1 1 Behr, Mr. Karl Howell male 26 30.0000
1 1 Bidois, Miss. Rosalie female 42 227.5250
1 1 Bird, Miss. Ellen female 29 221.7792
1 0 Birnbaum, Mr. Jakob male 25 26.0000
1 1 Bishop, Mr. Dickinson H male 25 91.0792
1 1 Bishop, Mrs. Dickinson H (Helen Walton) female 19 91.0792
1 1 Bissette, Miss. Amelia female 35 135.6333
1 1 Bjornstrom-Steffansson, Mr. Mauritz Hakan male 28 26.5500
1 0 Blackwell, Mr. Stephen Weart male 45 35.5000
1 1 Blank, Mr. Henry male 40 31.0000
1 1 Bonnell, Miss. Caroline female 30 164.8667
1 1 Bonnell, Miss. Elizabeth female 58 26.5500
1 0 Borebank, Mr. John James male 42 26.5500
1 1 Bowen, Miss. Grace Scott female 45 262.3750
1 1 Bowerman, Miss. Elsie Edith female 22 55.0000
1 1 Bradley, Mr. George (George Arthur Brayton) male 26.5500
1 0 Brady, Mr. John Bertram male 41 30.5000
1 0 Brandeis, Mr. Emil male 48 50.4958
1 0 Brewe, Dr. Arthur Jackson male 39.6000
1 1 Brown, Mrs. James Joseph (Margaret Tobin) female 44 27.7208
1 1 Brown, Mrs. John Murray (Caroline Lane Lamson) female 59 51.4792
1 1 Bucknell, Mrs. William Robert (Emma Eliza Ward) female 60 76.2917
1 1 Burns, Miss. Elizabeth Margaret female 41 134.5000
1 0 Butt, Major. Archibald Willingham male 45 26.5500
1 0 Cairns, Mr. Alexander male 31.0000
1 1 Calderhead, Mr. Edward Pennington male 42 26.2875
1 1 Candee, Mrs. Edward (Helen Churchill Hungerford) female 53 27.4458
1 1 Cardeza, Mr. Thomas Drake Martinez male 36 512.3292
1 1 Cardeza, Mrs. James Warburton Martinez (Charlotte Wardle Drake) female 58 512.3292
1 0 Carlsson, Mr. Frans Olof male 33 5.0000
1 0 Carrau, Mr. Francisco M male 28 47.1000
1 0 Carrau, Mr. Jose Pedro male 17 47.1000
1 1 Carter, Master. William Thornton II male 11 120.0000
1 1 Carter, Miss. Lucile Polk female 14 120.0000
1 1 Carter, Mr. William Ernest male 36 120.0000
1 1 Carter, Mrs. William Ernest (Lucile Polk) female 36 120.0000
1 0 Case, Mr. Howard Brown male 49 26.0000
1 1 Cassebeer, Mrs. Henry Arthur Jr (Eleanor Genevieve Fosdick) female 27.7208
1 0 Cavendish, Mr. Tyrell William male 36 78.8500
1 1 Cavendish, Mrs. Tyrell William (Julia Florence Siegel) female 76 78.8500
1 0 Chaffee, Mr. Herbert Fuller male 46 61.1750
1 1 Chaffee, Mrs. Herbert Fuller (Carrie Constance Toogood) female 47 61.1750
1 1 Chambers, Mr. Norman Campbell male 27 53.1000
1 1 Chambers, Mrs. Norman Campbell (Bertha Griggs) female 33 53.1000
1 1 Chaudanson, Miss. Victorine female 36 262.3750
1 1 Cherry, Miss. Gladys female 30 86.5000
1 1 Chevre, Mr. Paul Romaine male 45 29.7000
1 1 Chibnall, Mrs. (Edith Martha Bowerman) female 55.0000
1 0 Chisholm, Mr. Roderick Robert Crispin male 0.0000
1 0 Clark, Mr. Walter Miller male 27 136.7792
1 1 Clark, Mrs. Walter Miller (Virginia McDowell) female 26 136.7792
1 1 Cleaver, Miss. Alice female 22 151.5500
1 0 Clifford, Mr. George Quincy male 52.0000
1 0 Colley, Mr. Edward Pomeroy male 47 25.5875
1 1 Compton, Miss. Sara Rebecca female 39 83.1583
1 0 Compton, Mr. Alexander Taylor Jr male 37 83.1583
1 1 Compton, Mrs. Alexander Taylor (Mary Eliza Ingersoll) female 64 83.1583
1 1 Cornell, Mrs. Robert Clifford (Malvina Helen Lamson) female 55 25.7000
1 0 Crafton, Mr. John Bertram male 26.5500
1 0 Crosby, Capt. Edward Gifford male 70 71.0000
1 1 Crosby, Miss. Harriet R female 36 71.0000
1 1 Crosby, Mrs. Edward Gifford (Catherine Elizabeth Halstead) female 64 26.5500
1 0 Cumings, Mr. John Bradley male 39 71.2833
1 1 Cumings, Mrs. John Bradley (Florence Briggs Thayer) female 38 71.2833
1 1 Daly, Mr. Peter Denis male 51 26.5500
1 1 Daniel, Mr. Robert Williams male 27 30.5000
1 1 Daniels, Miss. Sarah female 33 151.5500
1 0 Davidson, Mr. Thornton male 31 52.0000
1 1 Davidson, Mrs. Thornton (Orian Hays) female 27 52.0000
1 1 Dick, Mr. Albert Adrian male 31 57.0000
1 1 Dick, Mrs. Albert Adrian (Vera Gillespie) female 17 57.0000
1 1 Dodge, Dr. Washington male 53 81.8583
1 1 Dodge, Master. Washington male 4 81.8583
1 1 Dodge, Mrs. Washington (Ruth Vidaver) female 54 81.8583
1 0 Douglas, Mr. Walter Donald male 50 106.4250
1 1 Douglas, Mrs. Frederick Charles (Mary Helene Baxter) female 27 247.5208
1 1 Douglas, Mrs. Walter Donald (Mahala Dutton) female 48 106.4250
1 1 Duff Gordon, Lady. (Lucille Christiana Sutherland) (Mrs Morgan) female 48 39.6000
1 1 Duff Gordon, Sir. Cosmo Edmund (Mr Morgan) male 49 56.9292
1 0 Dulles, Mr. William Crothers male 39 29.7000
1 1 Earnshaw, Mrs. Boulton (Olive Potter) female 23 83.1583
1 1 Endres, Miss. Caroline Louise female 38 227.5250
1 1 Eustis, Miss. Elizabeth Mussey female 54 78.2667
1 0 Evans, Miss. Edith Corse female 36 31.6792
1 0 Farthing, Mr. John male 221.7792
1 1 Flegenheim, Mrs. Alfred (Antoinette) female 31.6833
1 1 Fleming, Miss. Margaret female 110.8833
1 1 Flynn, Mr. John Irwin (Irving) male 36 26.3875
1 0 Foreman, Mr. Benjamin Laventall male 30 27.7500
1 1 Fortune, Miss. Alice Elizabeth female 24 263.0000
1 1 Fortune, Miss. Ethel Flora female 28 263.0000
1 1 Fortune, Miss. Mabel Helen female 23 263.0000
1 0 Fortune, Mr. Charles Alexander male 19 263.0000
1 0 Fortune, Mr. Mark male 64 263.0000
1 1 Fortune, Mrs. Mark (Mary McDougald) female 60 263.0000
1 1 Francatelli, Miss. Laura Mabel female 30 56.9292
1 0 Franklin, Mr. Thomas Parham male 26.5500
1 1 Frauenthal, Dr. Henry William male 50 133.6500
1 1 Frauenthal, Mr. Isaac Gerald male 43 27.7208
1 1 Frauenthal, Mrs. Henry William (Clara Heinsheimer) female 133.6500
1 1 Frolicher, Miss. Hedwig Margaritha female 22 49.5000
1 1 Frolicher-Stehli, Mr. Maxmillian male 60 79.2000
1 1 Frolicher-Stehli, Mrs. Maxmillian (Margaretha Emerentia Stehli) female 48 79.2000
1 0 Fry, Mr. Richard male 0.0000
1 0 Futrelle, Mr. Jacques Heath male 37 53.1000
1 1 Futrelle, Mrs. Jacques Heath (Lily May Peel) female 35 53.1000
1 0 Gee, Mr. Arthur H male 47 38.5000
1 1 Geiger, Miss. Amalie female 35 211.5000
1 1 Gibson, Miss. Dorothy Winifred female 22 59.4000
1 1 Gibson, Mrs. Leonard (Pauline C Boeson) female 45 59.4000
1 0 Giglio, Mr. Victor male 24 79.2000
1 1 Goldenberg, Mr. Samuel L male 49 89.1042
1 1 Goldenberg, Mrs. Samuel L (Edwiga Grabowska) female 89.1042
1 0 Goldschmidt, Mr. George B male 71 34.6542
1 1 Gracie, Col. Archibald IV male 53 28.5000
1 1 Graham, Miss. Margaret Edith female 19 30.0000
1 0 Graham, Mr. George Edward male 38 153.4625
1 1 Graham, Mrs. William Thompson (Edith Junkins) female 58 153.4625
1 1 Greenfield, Mr. William Bertram male 23 63.3583
1 1 Greenfield, Mrs. Leo David (Blanche Strouse) female 45 63.3583
1 0 Guggenheim, Mr. Benjamin male 46 79.2000
1 1 Harder, Mr. George Achilles male 25 55.4417
1 1 Harder, Mrs. George Achilles (Dorothy Annan) female 25 55.4417
1 1 Harper, Mr. Henry Sleeper male 48 76.7292
1 1 Harper, Mrs. Henry Sleeper (Myna Haxtun) female 49 76.7292
1 0 Harrington, Mr. Charles H male 42.4000
1 0 Harris, Mr. Henry Birkhardt male 45 83.4750
1 1 Harris, Mrs. Henry Birkhardt (Irene Wallach) female 35 83.4750
1 0 Harrison, Mr. William male 40 0.0000
1 1 Hassab, Mr. Hammad male 27 76.7292
1 1 Hawksford, Mr. Walter James male 30.0000
1 1 Hays, Miss. Margaret Bechstein female 24 83.1583
1 0 Hays, Mr. Charles Melville male 55 93.5000
1 1 Hays, Mrs. Charles Melville (Clara Jennings Gregg) female 52 93.5000
1 0 Head, Mr. Christopher male 42 42.5000
1 0 Hilliard, Mr. Herbert Henry male 51.8625
1 0 Hipkins, Mr. William Edward male 55 50.0000
1 1 Hippach, Miss. Jean Gertrude female 16 57.9792
1 1 Hippach, Mrs. Louis Albert (Ida Sophia Fischer) female 44 57.9792
1 1 Hogeboom, Mrs. John C (Anna Andrews) female 51 77.9583
1 0 Holverson, Mr. Alexander Oskar male 42 52.0000
1 1 Holverson, Mrs. Alexander Oskar (Mary Aline Towner) female 35 52.0000
1 1 Homer, Mr. Harry (Mr E Haven) male 35 26.5500
1 1 Hoyt, Mr. Frederick Maxfield male 38 90.0000
1 0 Hoyt, Mr. William Fisher male 30.6958
1 1 Hoyt, Mrs. Frederick Maxfield (Jane Anne Forby) female 35 90.0000
1 1 Icard, Miss. Amelie female 38 80.0000
1 0 Isham, Miss. Ann Elizabeth female 50 28.7125
1 1 Ismay, Mr. Joseph Bruce male 49 0.0000
1 0 Jones, Mr. Charles Cresson male 46 26.0000
1 0 Julian, Mr. Henry Forbes male 50 26.0000
1 0 Keeping, Mr. Edwin male 32.5 211.5000
1 0 Kent, Mr. Edward Austin male 58 29.7000
1 0 Kenyon, Mr. Frederick R male 41 51.8625
1 1 Kenyon, Mrs. Frederick R (Marion) female 51.8625
1 1 Kimball, Mr. Edwin Nelson Jr male 42 52.5542
1 1 Kimball, Mrs. Edwin Nelson Jr (Gertrude Parsons) female 45 52.5542
1 0 Klaber, Mr. Herman male 26.5500
1 1 Kreuchen, Miss. Emilie female 39 211.3375
1 1 Leader, Dr. Alice (Farnham) female 49 25.9292
1 1 LeRoy, Miss. Bertha female 30 106.4250
1 1 Lesurer, Mr. Gustave J male 35 512.3292
1 0 Lewy, Mr. Ervin G male 27.7208
1 0 Lindeberg-Lind, Mr. Erik Gustaf (Mr Edward Lingrey) male 42 26.5500
1 1 Lindstrom, Mrs. Carl Johan (Sigrid Posse) female 55 27.7208
1 1 Lines, Miss. Mary Conover female 16 39.4000
1 1 Lines, Mrs. Ernest H (Elizabeth Lindsey James) female 51 39.4000
1 0 Long, Mr. Milton Clyde male 29 30.0000
1 1 Longley, Miss. Gretchen Fiske female 21 77.9583
1 0 Loring, Mr. Joseph Holland male 30 45.5000
1 1 Lurette, Miss. Elise female 58 146.5208
1 1 Madill, Miss. Georgette Alexandra female 15 211.3375
1 0 Maguire, Mr. John Edward male 30 26.0000
1 1 Maioni, Miss. Roberta female 16 86.5000
1 1 Marechal, Mr. Pierre male 29.7000
1 0 Marvin, Mr. Daniel Warner male 19 53.1000
1 1 Marvin, Mrs. Daniel Warner (Mary Graham Carmichael Farquarson) female 18 53.1000
1 1 Mayne, Mlle. Berthe Antonine (Mrs de Villiers) female 24 49.5042
1 0 McCaffry, Mr. Thomas Francis male 46 75.2417
1 0 McCarthy, Mr. Timothy J male 54 51.8625
1 1 McGough, Mr. James Robert male 36 26.2875
1 0 Meyer, Mr. Edgar Joseph male 28 82.1708
1 1 Meyer, Mrs. Edgar Joseph (Leila Saks) female 82.1708
1 0 Millet, Mr. Francis Davis male 65 26.5500
1 0 Minahan, Dr. William Edward male 44 90.0000
1 1 Minahan, Miss. Daisy E female 33 90.0000
1 1 Minahan, Mrs. William Edward (Lillian E Thorpe) female 37 90.0000
1 1 Mock, Mr. Philipp Edmund male 30 57.7500
1 0 Molson, Mr. Harry Markland male 55 30.5000
1 0 Moore, Mr. Clarence Bloomfield male 47 42.4000
1 0 Natsch, Mr. Charles H male 37 29.7000
1 1 Newell, Miss. Madeleine female 31 113.2750
1 1 Newell, Miss. Marjorie female 23 113.2750
1 0 Newell, Mr. Arthur Webster male 58 113.2750
1 1 Newsom, Miss. Helen Monypeny female 19 26.2833
1 0 Nicholson, Mr. Arthur Ernest male 64 26.0000
1 1 Oliva y Ocana, Dona. Fermina female 39 108.9000
1 1 Omont, Mr. Alfred Fernand male 25.7417
1 1 Ostby, Miss. Helene Ragnhild female 22 61.9792
1 0 Ostby, Mr. Engelhart Cornelius male 65 61.9792
1 0 Ovies y Rodriguez, Mr. Servando male 28.5 27.7208
1 0 Parr, Mr. William Henry Marsh male 0.0000
1 0 Partner, Mr. Austen male 45.5 28.5000
1 0 Payne, Mr. Vivian Ponsonby male 23 93.5000
1 0 Pears, Mr. Thomas Clinton male 29 66.6000
1 1 Pears, Mrs. Thomas (Edith Wearne) female 22 66.6000
1 0 Penasco y Castellana, Mr. Victor de Satode male 18 108.9000
1 1 Penasco y Castellana, Mrs. Victor de Satode (Maria Josefa Perez de Soto y Vallejo) female 17 108.9000
1 1 Perreault, Miss. Anne female 30 93.5000
1 1 Peuchen, Major. Arthur Godfrey male 52 30.5000
1 0 Porter, Mr. Walter Chamberlain male 47 52.0000
1 1 Potter, Mrs. Thomas Jr (Lily Alexenia Wilson) female 56 83.1583
1 0 Reuchlin, Jonkheer. John George male 38 0.0000
1 1 Rheims, Mr. George Alexander Lucien male 39.6000
1 0 Ringhini, Mr. Sante male 22 135.6333
1 0 Robbins, Mr. Victor male 227.5250
1 1 Robert, Mrs. Edward Scott (Elisabeth Walton McMillan) female 43 211.3375
1 0 Roebling, Mr. Washington Augustus II male 31 50.4958
1 1 Romaine, Mr. Charles Hallace (Mr C Rolmane) male 45 26.5500
1 0 Rood, Mr. Hugh Roscoe male 50.0000
1 1 Rosenbaum, Miss. Edith Louise female 33 27.7208
1 0 Rosenshine, Mr. George (Mr George Thorne) male 46 79.2000
1 0 Ross, Mr. John Hugo male 36 40.1250
1 1 Rothes, the Countess. of (Lucy Noel Martha Dyer-Edwards) female 33 86.5000
1 0 Rothschild, Mr. Martin male 55 59.4000
1 1 Rothschild, Mrs. Martin (Elizabeth L. Barrett) female 54 59.4000
1 0 Rowe, Mr. Alfred G male 33 26.5500
1 1 Ryerson, Master. John Borie male 13 262.3750
1 1 Ryerson, Miss. Emily Borie female 18 262.3750
1 1 Ryerson, Miss. Susan Parker Suzette female 21 262.3750
1 0 Ryerson, Mr. Arthur Larned male 61 262.3750
1 1 Ryerson, Mrs. Arthur Larned (Emily Maria Borie) female 48 262.3750
1 1 Saalfeld, Mr. Adolphe male 30.5000
1 1 Sagesser, Mlle. Emma female 24 69.3000
1 1 Salomon, Mr. Abraham L male 26.0000
1 1 Schabert, Mrs. Paul (Emma Mock) female 35 57.7500
1 1 Serepeca, Miss. Augusta female 30 31.0000
1 1 Seward, Mr. Frederic Kimber male 34 26.5500
1 1 Shutes, Miss. Elizabeth W female 40 153.4625
1 1 Silverthorne, Mr. Spencer Victor male 35 26.2875
1 0 Silvey, Mr. William Baird male 50 55.9000
1 1 Silvey, Mrs. William Baird (Alice Munger) female 39 55.9000
1 1 Simonius-Blumer, Col. Oberst Alfons male 56 35.5000
1 1 Sloper, Mr. William Thompson male 28 35.5000
1 0 Smart, Mr. John Montgomery male 56 26.5500
1 0 Smith, Mr. James Clinch male 56 30.6958
1 0 Smith, Mr. Lucien Philip male 24 60.0000
1 0 Smith, Mr. Richard William male 26.0000
1 1 Smith, Mrs. Lucien Philip (Mary Eloise Hughes) female 18 60.0000
1 1 Snyder, Mr. John Pillsbury male 24 82.2667
1 1 Snyder, Mrs. John Pillsbury (Nelle Stevenson) female 23 82.2667
1 1 Spedden, Master. Robert Douglas male 6 134.5000
1 1 Spedden, Mr. Frederic Oakley male 45 134.5000
1 1 Spedden, Mrs. Frederic Oakley (Margaretta Corning Stone) female 40 134.5000
1 0 Spencer, Mr. William Augustus male 57 146.5208
1 1 Spencer, Mrs. William Augustus (Marie Eugenie) female 146.5208
1 1 Stahelin-Maeglin, Dr. Max male 32 30.5000
1 0 Stead, Mr. William Thomas male 62 26.5500
1 1 Stengel, Mr. Charles Emil Henry male 54 55.4417
1 1 Stengel, Mrs. Charles Emil Henry (Annie May Morris) female 43 55.4417
1 1 Stephenson, Mrs. Walter Bertram (Martha Eustis) female 52 78.2667
1 0 Stewart, Mr. Albert A male 27.7208
1 1 Stone, Mrs. George Nelson (Martha Evelyn) female 62 80.0000
1 0 Straus, Mr. Isidor male 67 221.7792
1 0 Straus, Mrs. Isidor (Rosalie Ida Blun) female 63 221.7792
1 0 Sutton, Mr. Frederick male 61 32.3208
1 1 Swift, Mrs. Frederick Joel (Margaret Welles Barron) female 48 25.9292
1 1 Taussig, Miss. Ruth female 18 79.6500
1 0 Taussig, Mr. Emil male 52 79.6500
1 1 Taussig, Mrs. Emil (Tillie Mandelbaum) female 39 79.6500
1 1 Taylor, Mr. Elmer Zebley male 48 52.0000
1 1 Taylor, Mrs. Elmer Zebley (Juliet Cummins Wright) female 52.0000
1 0 Thayer, Mr. John Borland male 49 110.8833
1 1 Thayer, Mr. John Borland Jr male 17 110.8833
1 1 Thayer, Mrs. John Borland (Marian Longstreth Morris) female 39 110.8833
1 1 Thorne, Mrs. Gertrude Maybelle female 79.2000
1 1 Tucker, Mr. Gilbert Milligan Jr male 31 28.5375
1 0 Uruchurtu, Don. Manuel E male 40 27.7208
1 0 Van der hoef, Mr. Wyckoff male 61 33.5000
1 0 Walker, Mr. William Anderson male 47 34.0208
1 1 Ward, Miss. Anna female 35 512.3292
1 0 Warren, Mr. Frank Manley male 64 75.2500
1 1 Warren, Mrs. Frank Manley (Anna Sophia Atkinson) female 60 75.2500
1 0 Weir, Col. John male 60 26.5500
1 0 White, Mr. Percival Wayland male 54 77.2875
1 0 White, Mr. Richard Frasar male 21 77.2875
1 1 White, Mrs. John Stuart (Ella Holmes) female 55 135.6333
1 1 Wick, Miss. Mary Natalie female 31 164.8667
1 0 Wick, Mr. George Dennick male 57 164.8667
1 1 Wick, Mrs. George Dennick (Mary Hitchcock) female 45 164.8667
1 0 Widener, Mr. George Dunton male 50 211.5000
1 0 Widener, Mr. Harry Elkins male 27 211.5000
1 1 Widener, Mrs. George Dunton (Eleanor Elkins) female 50 211.5000
1 1 Willard, Miss. Constance female 21 26.5500
1 0 Williams, Mr. Charles Duane male 51 61.3792
1 1 Williams, Mr. Richard Norris II male 21 61.3792
1 0 Williams-Lambert, Mr. Fletcher Fellows male 35.0000
1 1 Wilson, Miss. Helen Alice female 31 134.5000
1 1 Woolner, Mr. Hugh male 35.5000
1 0 Wright, Mr. George male 62 26.5500
1 1 Young, Miss. Marie Grice female 36 135.6333
2 0 Abelson, Mr. Samuel male 30 24.0000
2 1 Abelson, Mrs. Samuel (Hannah Wizosky) female 28 24.0000
2 0 Aldworth, Mr. Charles Augustus male 30 13.0000
2 0 Andrew, Mr. Edgardo Samuel male 18 11.5000
2 0 Andrew, Mr. Frank Thomas male 25 10.5000
2 0 Angle, Mr. William A male 34 26.0000
2 1 Angle, Mrs. William A (Florence Mary Agnes Hughes) female 36 26.0000
2 0 Ashby, Mr. John male 57 13.0000
2 0 Bailey, Mr. Percy Andrew male 18 11.5000
2 0 Baimbrigge, Mr. Charles Robert male 23 10.5000
2 1 Ball, Mrs. (Ada E Hall) female 36 13.0000
2 0 Banfield, Mr. Frederick James male 28 10.5000
2 0 Bateman, Rev. Robert James male 51 12.5250
2 1 Beane, Mr. Edward male 32 26.0000
2 1 Beane, Mrs. Edward (Ethel Clarke) female 19 26.0000
2 0 Beauchamp, Mr. Henry James male 28 26.0000
2 1 Becker, Master. Richard F male 1 39.0000
2 1 Becker, Miss. Marion Louise female 4 39.0000
2 1 Becker, Miss. Ruth Elizabeth female 12 39.0000
2 1 Becker, Mrs. Allen Oliver (Nellie E Baumgardner) female 36 39.0000
2 1 Beesley, Mr. Lawrence male 34 13.0000
2 1 Bentham, Miss. Lilian W female 19 13.0000
2 0 Berriman, Mr. William John male 23 13.0000
2 0 Botsford, Mr. William Hull male 26 13.0000
2 0 Bowenur, Mr. Solomon male 42 13.0000
2 0 Bracken, Mr. James H male 27 13.0000
2 1 Brown, Miss. Amelia Mildred female 24 13.0000
2 1 Brown, Miss. Edith Eileen female 15 39.0000
2 0 Brown, Mr. Thomas William Solomon male 60 39.0000
2 1 Brown, Mrs. Thomas William Solomon (Elizabeth Catherine Ford) female 40 39.0000
2 1 Bryhl, Miss. Dagmar Jenny Ingeborg female 20 26.0000
2 0 Bryhl, Mr. Kurt Arnold Gottfrid male 25 26.0000
2 1 Buss, Miss. Kate female 36 13.0000
2 0 Butler, Mr. Reginald Fenton male 25 13.0000
2 0 Byles, Rev. Thomas Roussel Davids male 42 13.0000
2 1 Bystrom, Mrs. (Karolina) female 42 13.0000
2 1 Caldwell, Master. Alden Gates male 0.8333 29.0000
2 1 Caldwell, Mr. Albert Francis male 26 29.0000
2 1 Caldwell, Mrs. Albert Francis (Sylvia Mae Harbaugh) female 22 29.0000
2 1 Cameron, Miss. Clear Annie female 35 21.0000
2 0 Campbell, Mr. William male 0.0000
2 0 Carbines, Mr. William male 19 13.0000
2 0 Carter, Mrs. Ernest Courtenay (Lilian Hughes) female 44 26.0000

I have a txt file containing the above info (and more lines) and I need to put it into a 2D array. I had to remove more than half of it since there was a limit.

Show more