Added a few imports and changed scoring function to rank based on number of letters matching top 6 frequency letters and bottom 6 frequency letters