Added and implemented buildHandIndex(), added some notes to the comments
in scoreHand(), and added explicit var prefixes to some variables but
not all (still experimenting with which style I prefer).