lab1: remove duplicate call to strlen
lab1: experimental hash sort