added final_three_pitches function and get_dict_entry function, for getting the final three pitch sequence of an at-bat and for getting the pitch-type dictionary entry for that sequence