implemented insertion sort, fixed streamread of scoring