removed ReservedWords arraylist

Instead of using a separate arrayList, just use the hashmap's key set