Adding function to grab first three values and add them to dictionary