worked on part 2, got legend read in as a map, does not pass test yet