Refactors code by creating pointLookup object to store arrays of letters with their point value as a key.